table of contents
eeprom(8) | System Administration | eeprom(8) |
NAME¶
eeprom - reads and writes 24Cxx EEPROMs connected to I2C serial bus.
SYNOPSIS¶
eeprom [-d dev] [-a adr] [-p pgs] [-w] [-y] [-f file]
DESCRIPTION¶
eeprom can be used for reading from / writing to i2c-eeproms like the popular 24C16, 24C08, 24C04, etc. In contrast to eeprommer which supports 24C256-type eeproms (24C16s) this tool works with 1-byte addresses!
NOTE¶
Don't forget to load your i2c chipset and the i2c-dev drivers.
Pages/addresses:
eeproms with more than 256 bytes appear as if they
were several eeproms with consecutive addresses on the bus
so we might as well address several separate eeproms with
increasing addresses
PARAMETERS¶
- dev
- device, e.g. /dev/i2c-0 (def)
- adr
- base address of eeprom, eg 0xA0 (def)
- pgs
- number of pages to read, eg 8 (def)
- -w
- write to eeprom (default is reading!)
- -y
- suppress warning when writing (default is to warn!)
- -f file
- copy eeprom contents to/from file (default for read is test only; for write is all zeros)
SEE ALSO¶
AUTHOR¶
Jul 2013 | i2c-tools |